"""
===============
ballista.errors
===============

A generic fallback error controller; just in case the application doesn't contain one.

"""

from ballista.responses import TextResponse

class ErrorsController:
    """
    ErrorsController
    ================

    The controller class.
    
    """
    def e404(self):
        """
        ErrorsController.e404
        =====================

        e404(self)
        A generic 404 (Not Found) error.
        
        """
        return TextResponse("The requested page could not be found.")
